`ifndef INSTF_V
`define INSTF_V


`include "defines.v"

module instf(
	//from pc_reg
	input  wire[`InstAddrWidth - 1 : 0] pc_addr_i,

	//from rom 
	input  wire[`InstWidth - 1 : 0] 	rom_inst_i,
	//to rom
	output wire[`InstAddrWidth - 1 : 0] instf2rom_addr_o, 

	// to instf_id
	output wire[`InstAddrWidth - 1 : 0] inst_addr_o, 
	output wire[`InstWidth - 1 : 0] 	inst_o
);

assign instf2rom_addr_o = pc_addr_i;
assign inst_addr_o  = pc_addr_i;
assign inst_o = rom_inst_i;

endmodule


`endif // INSTF_V